'use strict';

export default class extends think.logic.base {

  registryAction(){
    this.allowMethods = "post";
    this.rules = {
      usr_name: "required | string",
      usr_pwd: "required | string",
      usr_mobile: "string"
    }
  }

  loginAction(){
    this.allowMethods = "post";
    this.rules = {
      usr_name: "required | string",
      usr_pwd: "required | string"
    }
  }

  updateAction(){
    this.allowMethods = "post";
    this.rules = {
      usr_id: "required | int",
      usr_name: "string",
      usr_pwd: "string",
      usr_mobile: "string"
    }
  }

}